package com.yangsen.common;

import com.jfinal.config.Routes;
import com.yangsen.index.IndexController;
import com.yangsen.login.LoginController;
import com.yangsen.register.RegisterController;

public class FrontRoutes extends Routes {

    public void config() {
        setBaseViewPath("_view");
        add("/", IndexController.class, "/index");
        add("/register", RegisterController.class);
        add("/login", LoginController.class);
    }
}
